Drop the last remaining translated g_warning/g_error calls
authorColin Walters <walters@verbum.org>
Fri, 29 Apr 2011 14:32:56 +0000 (10:32 -0400)
committerColin Walters <walters@verbum.org>
Fri, 29 Apr 2011 14:33:50 +0000 (10:33 -0400)
http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html

https://bugzilla.gnome.org/show_bug.cgi?id=648943

gtk/gtkcolorbutton.c
gtk/gtkiconfactory.c
gtk/gtkicontheme.c
gtk/gtkrc.c
gtk/gtkrecentaction.c
gtk/gtkrecentchoosermenu.c

index 784abf3f0b81c00f8d9ddedf831bd0fbd4da9a37..352695d73dfb213040b5d5d79b7a4f51b197a5ae 100644 (file)
@@ -369,7 +369,7 @@ gtk_color_button_drag_data_received (GtkWidget        *widget,
    */
   if (length != 8)
     {
-      g_warning (_("Received invalid color data\n"));
+      g_warning ("%s: Received invalid color data", G_GNUC_FUNCTION);
       return;
     }
 
index 4feff1087fd89b14dfa49b5f670e95405c4cc2e4..2d5902c62242390937b7568b6a754f293ea8d51c 100644 (file)
@@ -1456,7 +1456,7 @@ ensure_filename_pixbuf (GtkIconSet    *icon_set,
          /* Remove this icon source so we don't keep trying to
           * load it.
           */
-         g_warning (_("Error loading icon: %s"), error->message);
+         g_warning ("Error loading icon: %s", error->message);
          g_error_free (error);
 
          icon_set->sources = g_slist_remove (icon_set->sources, source);
index 1845adb5ae252a9522af43a3a1ffa9648858d746..71ea135c317946d628292ff88813a9f2b33d6cb9 100644 (file)
@@ -1419,10 +1419,10 @@ choose_icon (GtkIconTheme       *icon_theme,
 
          if (!found)
            {
-             g_warning (_("Could not find the icon '%s'. The '%s' theme\n"
-                          "was not found either, perhaps you need to install it.\n"
-                          "You can get a copy from:\n"
-                          "\t%s"),
+             g_warning ("Could not find the icon '%s'. The '%s' theme\n"
+                        "was not found either, perhaps you need to install it.\n"
+                        "You can get a copy from:\n"
+                        "\t%s",
                         icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases");
            }
        }
index 3a471d851224145ee6a28f3c63fa595f48afb95e..a3692d3659e31e9d68bc0ee0a036a573354f51f0 100644 (file)
@@ -1661,7 +1661,7 @@ gtk_rc_find_pixmap_in_path (GtkSettings  *settings,
                            GScanner     *scanner,
                            const gchar  *pixmap_file)
 {
-  g_warning (_("Unable to locate image file in pixmap_path: \"%s\""),
+  g_warning ("Unable to locate image file in pixmap_path: \"%s\"",
              pixmap_file);
   return NULL;
 }
index 8d21ae48302448d36a3abf9598b6d8bc38c88630..37ba355e22c0f60f1ad570fa87e0f26921bccc58 100644 (file)
@@ -162,16 +162,16 @@ gtk_recent_action_unselect_uri (GtkRecentChooser *chooser,
 static void
 gtk_recent_action_select_all (GtkRecentChooser *chooser)
 {
-  g_warning (_("This function is not implemented for "
-               "widgets of class '%s'"),
+  g_warning ("This function is not implemented for "
+            "widgets of class '%s'",
              g_type_name (G_OBJECT_TYPE (chooser)));
 }
 
 static void
 gtk_recent_action_unselect_all (GtkRecentChooser *chooser)
 {
-  g_warning (_("This function is not implemented for "
-               "widgets of class '%s'"),
+  g_warning ("This function is not implemented for "
+            "widgets of class '%s'",
              g_type_name (G_OBJECT_TYPE (chooser)));
 }
 
index add5ac037c6ad8b4a17dcbb4a7d593a47b9db507..4e8856191e579111527d533b4336cd58cd43937f 100644 (file)
@@ -605,16 +605,16 @@ gtk_recent_chooser_menu_unselect_uri (GtkRecentChooser *chooser,
 static void
 gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser)
 {
-  g_warning (_("This function is not implemented for "
-               "widgets of class '%s'"),
+  g_warning ("This function is not implemented for "
+            "widgets of class '%s'",
              g_type_name (G_OBJECT_TYPE (chooser)));
 }
 
 static void
 gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser)
 {
-  g_warning (_("This function is not implemented for "
-               "widgets of class '%s'"),
+  g_warning ("This function is not implemented for "
+            "widgets of class '%s'",
              g_type_name (G_OBJECT_TYPE (chooser)));
 }